package project1.service;

import project1.model.Admin;
import project1.model.bo.AdminAddBO;
import project1.model.bo.AdminLoginBO;
import project1.model.bo.AdminSearchBO;

import java.util.List;

public interface AdminService {
    Admin  login(AdminLoginBO loginBO);

    List<Admin> allAdmins();

    List<Admin> getSearchAdmins(AdminSearchBO searchBO);

    void  deleteAdmin(String id);

    void addAdmin(AdminAddBO adminAddBO);

    Admin getAdminInfo(String id);

    void updateAdmin(Admin admin);
}
